package io.gitee.yaoshanli.engine.model;

/**
 * @author 姚善利
 * @classname org.jwflow.core.model
 * @description         工作流节点
 * @date 2022/9/21 9:07
 */
public class WfNodeModel {

    private String id;
    private String wf_id;       //流程ID
    private String name;        //节点名称
    private int position_x;     //X位置坐标
    private int position_y;     //Y位置坐标
    private int width;          //宽度
    private int height;         //高度
    private String shape;       //节点形状
    private String detail_url;  //节点处理页面
    private String deal_action;     //节点处理程序反射路径
    private String app_url;     //节点APP处理页面
    private int deal_back;        //当前节点是否发回(0不发回，1可发回开始，2可发回上一节点，3发回任意节点）
    private int deal_attr;      //节点处理属性（0全自动/1人工）
    private int deal_type;      //审批处理方式（0单人，1会签，3按照比例）
    private int deal_type_rate;      //审批比例
    private String by_group;    //当前节点的人员筛选组
    private int is_back;         //是否可以撤回
    private int is_cancel;         //是否可以取消

    public int getIs_cancel() {
        return is_cancel;
    }

    public void setIs_cancel(int is_cancel) {
        this.is_cancel = is_cancel;
    }

    public int getIs_filter() {
        return is_filter;
    }

    public void setIs_filter(int is_filter) {
        this.is_filter = is_filter;
    }

    private int is_filter;         //人员组的筛选条件

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWf_id() {
        return wf_id;
    }

    public void setWf_id(String wf_id) {
        this.wf_id = wf_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPosition_x() {
        return position_x;
    }

    public void setPosition_x(int position_x) {
        this.position_x = position_x;
    }

    public int getPosition_y() {
        return position_y;
    }

    public void setPosition_y(int position_y) {
        this.position_y = position_y;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getShape() {
        return shape;
    }

    public void setShape(String shape) {
        this.shape = shape;
    }

    public String getDetail_url() {
        return detail_url;
    }

    public void setDetail_url(String detail_url) {
        this.detail_url = detail_url;
    }

    public String getApp_url() {
        return app_url;
    }

    public void setApp_url(String app_url) {
        this.app_url = app_url;
    }

    public int getIs_back() {
        return is_back;
    }

    public void setIs_back(int is_back) {
        this.is_back = is_back;
    }

    public int getDeal_attr() {
        return deal_attr;
    }

    public void setDeal_attr(int deal_attr) {
        this.deal_attr = deal_attr;
    }

    public int getDeal_type() {
        return deal_type;
    }

    public void setDeal_type(int deal_type) {
        this.deal_type = deal_type;
    }

    public String getBy_group() {
        return by_group;
    }

    public void setBy_group(String by_group) {
        this.by_group = by_group;
    }

    public String getDeal_action() {
        return deal_action;
    }

    public void setDeal_action(String deal_action) {
        this.deal_action = deal_action;
    }

    public int getDeal_back() {
        return deal_back;
    }

    public void setDeal_back(int deal_back) {
        this.deal_back = deal_back;
    }

    public int getDeal_type_rate() {
        return deal_type_rate;
    }

    public void setDeal_type_rate(int deal_type_rate) {
        this.deal_type_rate = deal_type_rate;
    }
}
